/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.misena.praxispraktik.view;

import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author Administrador
 */
@Entity
@Table(name = "pasantes")
@XmlRootElement
@NamedQueries({
    @NamedQuery(name = "Pasantes.findAll", query = "SELECT p FROM Pasantes p"),
    @NamedQuery(name = "Pasantes.findByIdpracticas", query = "SELECT p FROM Pasantes p WHERE p.idpracticas = :idpracticas"),
    @NamedQuery(name = "Pasantes.findByTipoid", query = "SELECT p FROM Pasantes p WHERE p.tipoid = :tipoid"),
    @NamedQuery(name = "Pasantes.findByNumdoc", query = "SELECT p FROM Pasantes p WHERE p.numdoc = :numdoc"),
    @NamedQuery(name = "Pasantes.findByNombres", query = "SELECT p FROM Pasantes p WHERE p.nombres = :nombres"),
    @NamedQuery(name = "Pasantes.findByApellidos", query = "SELECT p FROM Pasantes p WHERE p.apellidos = :apellidos"),
    @NamedQuery(name = "Pasantes.findByTelefonofijo", query = "SELECT p FROM Pasantes p WHERE p.telefonofijo = :telefonofijo"),
    @NamedQuery(name = "Pasantes.findByCelular", query = "SELECT p FROM Pasantes p WHERE p.celular = :celular"),
    @NamedQuery(name = "Pasantes.findByCorreo", query = "SELECT p FROM Pasantes p WHERE p.correo = :correo"),
    @NamedQuery(name = "Pasantes.findByNit", query = "SELECT p FROM Pasantes p WHERE p.nit = :nit"),
    @NamedQuery(name = "Pasantes.findByNombre", query = "SELECT p FROM Pasantes p WHERE p.nombre = :nombre"),
    @NamedQuery(name = "Pasantes.findByTelefono", query = "SELECT p FROM Pasantes p WHERE p.telefono = :telefono")})
public class Pasantes implements Serializable {
    private static final long serialVersionUID = 1L;
    @Basic(optional = false)
    @NotNull
    @Column(name = "idpracticas")
    @Id
    private int idpracticas;
    @Basic(optional = false)
    @NotNull
    @Size(min = 1, max = 45)
    @Column(name = "tipoid")
    private String tipoid;
    @Basic(optional = false)
    @NotNull
    @Size(min = 1, max = 45)
    @Column(name = "numdoc")
    private String numdoc;
    @Basic(optional = false)
    @NotNull
    @Size(min = 1, max = 45)
    @Column(name = "nombres")
    private String nombres;
    @Basic(optional = false)
    @NotNull
    @Size(min = 1, max = 45)
    @Column(name = "apellidos")
    private String apellidos;
    @Basic(optional = false)
    @NotNull
    @Size(min = 1, max = 45)
    @Column(name = "telefonofijo")
    private String telefonofijo;
    @Basic(optional = false)
    @NotNull
    @Size(min = 1, max = 45)
    @Column(name = "celular")
    private String celular;
    @Basic(optional = false)
    @NotNull
    @Size(min = 1, max = 100)
    @Column(name = "correo")
    private String correo;
    @Basic(optional = false)
    @NotNull
    @Size(min = 1, max = 45)
    @Column(name = "nit")
    private String nit;
    @Basic(optional = false)
    @NotNull
    @Size(min = 1, max = 45)
    @Column(name = "nombre")
    private String nombre;
    @Basic(optional = false)
    @NotNull
    @Size(min = 1, max = 45)
    @Column(name = "telefono")
    private String telefono;

    public Pasantes() {
    }

    public int getIdpracticas() {
        return idpracticas;
    }

    public void setIdpracticas(int idpracticas) {
        this.idpracticas = idpracticas;
    }

    public String getTipoid() {
        return tipoid;
    }

    public void setTipoid(String tipoid) {
        this.tipoid = tipoid;
    }

    public String getNumdoc() {
        return numdoc;
    }

    public void setNumdoc(String numdoc) {
        this.numdoc = numdoc;
    }

    public String getNombres() {
        return nombres;
    }

    public void setNombres(String nombres) {
        this.nombres = nombres;
    }

    public String getApellidos() {
        return apellidos;
    }

    public void setApellidos(String apellidos) {
        this.apellidos = apellidos;
    }

    public String getTelefonofijo() {
        return telefonofijo;
    }

    public void setTelefonofijo(String telefonofijo) {
        this.telefonofijo = telefonofijo;
    }

    public String getCelular() {
        return celular;
    }

    public void setCelular(String celular) {
        this.celular = celular;
    }

    public String getCorreo() {
        return correo;
    }

    public void setCorreo(String correo) {
        this.correo = correo;
    }

    public String getNit() {
        return nit;
    }

    public void setNit(String nit) {
        this.nit = nit;
    }

    public String getNombre() {
        return nombre;
    }

    public void setNombre(String nombre) {
        this.nombre = nombre;
    }

    public String getTelefono() {
        return telefono;
    }

    public void setTelefono(String telefono) {
        this.telefono = telefono;
    }
    
}
